Piwik\Plugins\PrivacyManager\PrivacyManager B

Total Complexity 89
Dependencies 26
Dependents 7
Total lines 725
Lines of code 408
Logical lines of code 259
Comment lines 161
Methods 33
Properties 3

Methods 33

Method Rating Maintainability Complexity Lines of code
haveLogsBeenPurged()
A
52 8 24
hasReportBeenPurged()
A
54 8 20
onConfigureVisualisation()
S
57 6 16
shouldPurgeData()
S
55 5 19
getPurgeDataSettings()
S
56 5 18
renderPrivacyPolicyLinks()
S
57 5 17
getReportDate()
S
56 4 18
deleteLogData()
S
56 4 18
getAllMetricsToKeep()
S
57 4 17
getPurgeEstimate()
S
58 4 15
shouldReportBePurged()
S
59 4 14
getClientSideTranslationKeys()
S
42 1 59
installationFormSubmit()
S
60 3 15
deleteReportData()
S
61 3 12
savePurgeDataSettings()
S
66 3 8
shouldRenderFooterLinks()
S
64 3 10
registerEvents()
S
58 1 16
getUserIdSalt()
S
66 2 8
shouldAddTrackerFile()
S
73 2 5
installationFormInit()
S
59 1 14
getJsFiles()
S
61 1 14
getDeleteIntervalInSeconds()
S
79 1 3
getMaxGoalId()
S
78 1 3
__construct()
S
73 1 5
getGoalMetricsToKeep()
S
80 1 3
getMetricsToKeep()
S
71 1 5
install()
S
81 1 3
getStylesheetFiles()
S
69 1 7
setTrackerCacheGeneral()
S
65 1 9
isTrackerPlugin()
S
82 1 3
getTablesInstalled()
S
79 1 3
uninstall()
S
81 1 3
isCookieLessTrackingForced()
S
75 1 4